Lua/Client/TextBox
From JC2-MP Documentation
Contents
Events
Events inherited from BaseWindow
Static functions
 
 
 
 Returns
 
 Prototype
 
 
 TextBox
 
 Create(BaseWindow, string)
 
 
 TextBox
 
 Create(string)
 
 
 TextBox
 
 Create(BaseWindow)
 
  TextBox
 
 Create()
 
Functions
 
 
 
 Returns
 
 Prototype
 
 
 
 ClearSelection()
 
 
 
 DeleteText(number, number)
 
 
 string
 
 GetSelection()
 
 
 boolean
 
 HasSelection()
 
 
 
 InsertText(string)
 
 
 
 MakeCaratVisible()
 
 
 
 MoveCaretToEnd()
 
 
 
 SetCursorEnd(number)
 
 
 
 SetCursorPosition(number)
 
Functions inherited from Label
 
 
 
 Returns
 
 Prototype
 
 
 number
 
 GetAlignment()
 
 
 number
 
 GetLineSpacing()
 
 
 string
 
 GetText()
 
 
 Color
 
 GetTextColor()
 
 
 number
 
 GetTextHeight()
 
 
 number
 
 GetTextLength()
 
 
 
 GetTextPadding()
 
 
 number
 
 GetTextSize()
 
 
 number
 
 GetTextWidth()
 
 
 boolean
 
 GetWrap()
 
 
 
 SetAlignment(number)
 
 
 
 SetColorBright()
 
 
 
 SetColorDark()
 
 
 
 SetColorHighlight()
 
 
 
 SetColorNormal()
 
 
 
 SetFont(AssetLocation, string)
 
 
 
 SetLineSpacing(number)
 
 
 
 SetText(string, boolean)
 
 
 
 SetText(string)
 
 
 
 SetTextColor(Color)
 
 
 
 SetTextPadding(Vector2, Vector2)
 
 
 
 SetTextSize(number)
 
 
 
 SetWrap(boolean)
 
 
 
 SizeToContents()
 
Functions inherited from BaseWindow
 
Operators
 
 
 
 
 
 Returns
 
 Prototype
 
  boolean
 
 TextBox == TextBox
 

